Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

483
Visualizações
VS Code Error: (this.configurationService.getValue(...) || []).filter is not a function

I just started getting this error in VS Code that prevents me from create a new file or even opening a file. The pop error that VS Code shows is (this.configurationService.getValue(...) || []).filter is not a function

This error/bug even stops me from opening the extensions tab or launching basic hotkeys. Anybody else have this issue?

over 4 years ago · Hanz Gallego
5 Respostas
Responde à pergunta

0

I figured out the issue in the error is coming from the settings.json for VS Code (found here for mac ~/Library/Application Support/Code/User/settings.json). There was an extension that updated got updated with a bug. My particular one seems like it came from this line:

"workbench.editorAssociations": { "*.ipynb": "jupyter.notebook.ipynb" }

Anyways, hope this is helpful for someone in the future!

over 4 years ago · Hanz Gallego Relatório

0

Happened to me after I synced my settings between Visual Studio Code (the stable version) and "Visual Studio Code - Insiders".

For me, this error prevented Jupyter notebooks to be opened in Visual Studio Code.

Replacing the Jupyter notebook setting as suggested by this comment and implied by its above answer did not work for me.

What worked for me was to delete all Jupyter related entries in settings.json.

over 4 years ago · Hanz Gallego Relatório

0

I had the same error, where the jupyter-notebook extension was updated and caused a bug.

In the settings navigate to "workbench.editorAssociations",

replace

 "*.ipynb": "jupyter-notebook"

with

 "viewType": "jupyter-notebook",
 "filenamePattern": "*.ipynb"

and everything will work fine.

For the settings file,

By default VS Code shows the Settings editor, but you can still edit the underlying settings.json file by using the Open Settings (JSON) command or by changing your default settings editor with the workbench.settings.editor setting.

Depending on your platform, the user settings file is located here:

Windows %APPDATA%\Code\User\settings.json

macOS $HOME/Library/Application Support/Code/User/settings.json

Linux $HOME/.config/Code/User/settings.json

over 4 years ago · Hanz Gallego Relatório

0

I had the same problem.

Found few errors in settings.json. Try to check it and let me know how it will go.

This error pops up every time I try to create a new file saying

"(this.configurationService.getValue(...) || []).filter is not a function"

In my case, I had to fix "workbench.editorAssociations" flag to:

"workbench.editorAssociations": [
    {
        "viewType": "jupyter-notebook",
        "filenamePattern": "*.ipynb"
    }
],

Previously it was:

"workbench.editorAssociations": {
    "*.ipynb": "jupyter-notebook"
}
over 4 years ago · Hanz Gallego Relatório

0

Error "(this.configurationService.getValue(...) || []).filter is not a function" in Windows in Vscode

TL:DR;

Remove "workbench.editorAssociations": { "*.ipynb": "jupyter.notebook.ipynb" } in Windows from settings.json (In Linux Ubuntu it works though, you can leave it as is).

  • Same solution as others here say
  • Down the road: I use both environments and git version the settings.json, so I better remove it to avoid the error and be able to read files.
  • Linux is the reason for the error in Windows.
over 4 years ago · Hanz Gallego Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda